<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>后台管理平台</title>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/css/style.css" rel="stylesheet"/>
</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow: hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close">
            <i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div>
                        <span><img alt="image" class="img-circle" height="60" width="60" th:src="${picUrl}"/></span>
                        <h3 class="" style="color: #ffffff">
                            </i>后台管理系统
                        </h3>
                    </div>
                </li>
                <li class="active"><a href="#"> <i class="fa fa-home"></i> <span class="nav-label">主页</span> <span
                                class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li class="active"><a class="J_menuItem" href="/main">了解BootDo</a></li>
                    </ul>
                </li>
                <#include "left.ftl" />
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation"
                 style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-default "
                       href="#" title="收起菜单"><i class="fa fa-bars"></i> </a>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li><a href="/swagger-ui.html" target="_Blank" class=""><i class="fa fa-rss-square"></i>API接口</a></li>
                    <li class="dropdown">
                        <a class="right-sidebar-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="false">
                            <i class="fa fa-id-card">个人</i>
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                            <li><a onclick="openUser()" href="#"><i class="fa fa-id-card"></i> 个人中心</a></li>
                            <li><a href="/logout"><i class="fa fa fa-sign-out"></i> 退出</a></li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft">
                <i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab"
                       data-id="/main">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight">
                <i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">
                    关闭操作<span class="caret"></span>
                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive"><a>定位当前选项卡</a></li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll"><a>关闭全部选项卡</a></li>
                    <li class="J_tabCloseOther"><a>关闭其他选项卡</a></li>
                </ul>
            </div>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%"
                    src="/main" frameborder="0" data-id="/main"  seamless></iframe>
        </div>
        <div class="footer">
            <div class="pull-right">汇金</div>
        </div>
    </div>
</div>
<!-- 全局js -->
<script src="/static/jquery/jquery.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/jquery/jquery.slimscroll.min.js"></script>
<script type="text/javascript" src="/js/index/app.js"></script>
<script type="text/javascript" src="/js/index/contabs.js"></script>
<script src="/static/jquery/jquery.metisMenu.js"></script>
<script src="/static/layerui/layer.js"></script>
<script type="text/javascript">
    $(function () {

    })
    function openUser() {
        layer.open({
            type: 2,
            title: '个人设置',
            maxmin: true,
            shadeClose: false,
            area: ['800px', '600px'],
            content: '/sys/user/personal'
        });
    }
</script>
</body>
</html>
